<?php


namespace App\Http\Models\Student;

use App\Http\Models\RequestValidator;

class ApiFrom extends RequestValidator
{
    public function authorize()
    {
        return true;
    }

    public function rules()
    {
        return [
            'openId' => 'required',
        ];
    }

    public function messages()
    {
        return [
            'openId.required' => 'openid不能为空',
        ];
    }
}
